package com.bestcem.xm.ticket.enums;

import lombok.Getter;
import lombok.ToString;

/**
 * 工单规则类型枚举
 *
 * @author liheng
 * @version v1.0
 * @date 2021/8/16 10:43
 */
@Getter
@ToString
public enum TicketRuleTypeEnum {
    /**
     * 工单规则类型-简单
     */
    SIMPLE(0, "简单"),

    /**
     * 工单规则类型-自定义
     */
    CUSTOM(1, "自定义");

    private final String name;
    private final int index;

    TicketRuleTypeEnum(int index, String name) {
        this.name = name;
        this.index = index;
    }


}
